package fr.upmc.alasca.centreCalcul.interne.machinePhysique.machineVirtuelle.ports;

import fr.upmc.alasca.centreCalcul.interne.machinePhysique.machineVirtuelle.interfaces.MachineVirtuelleApplicationI;
import fr.upmc.alasca.centreCalcul.objets.Requete;
import fr.upmc.components.ComponentI;
import fr.upmc.components.ports.AbstractOutboundPort;

/**
 * @author Antoine Lavaire, Sabri Labassi, Thibaut Fleury, Ryme Fantazi
 */
public	class	MachineVirtuelleApplicationOutboundPort
extends			AbstractOutboundPort
implements		MachineVirtuelleApplicationI
{
	
	
	public		MachineVirtuelleApplicationOutboundPort
	(
			String uri,
			ComponentI owner
	) throws	Exception
	{
		super(uri, MachineVirtuelleApplicationI.class, owner);
	}

	
	/**
	 * @see fr.upmc.alasca.centreCalcul.interne.machinePhysique.machineVirtuelle.interfaces.MachineVirtuelleApplicationI#soumettreRequete(fr.upmc.alasca.centreCalcul.objets.Requete)
	 */
	@Override
	public void soumettreRequete(Requete requete) throws Exception {
		((MachineVirtuelleApplicationI)this.connector).soumettreRequete(
				requete);
	}

}
